package com.lxl.miaosha.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lxl.miaosha.entity.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ProductMapper extends BaseMapper<Product> {
    @Select("select * from product where productNo=#{productNo}")
    public Product findByProductNo(String productNo);
}
